auto merge of #566 : alexcrichton/cargo/issue-565, r=brson
authorbors <bors@rust-lang.org>
Fri, 12 Sep 2014 23:29:58 +0000 (23:29 +0000)
committerbors <bors@rust-lang.org>
Fri, 12 Sep 2014 23:29:58 +0000 (23:29 +0000)
commit15c024a867c1805f5211bf986f81f9ad49a126f4
tree7eed67878a8f43d465d0bb0d6bdb6337716269b4
parentf840823e39bd864688cdf53e61f4ab6cfc74c882
parent6742dde83b5ec9e33cc45a45db599781aecdce3f
auto merge of #566 : alexcrichton/cargo/issue-565, r=brson

When cloning a remote repository, the default behavior of libgit2 is to only
update the local ref that's actually checked out, when we actually would prefer
to update all refs of the remote repo. This removes a call to clone() to a
init_bare() + fetch() which should update all refs accordingly

Closes #565